
import { RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';


import { NgZorroAntdModule } from 'ng-zorro-antd';
import { AccountService } from './services/account';
import { EnterpriseRoutes } from './enterprise.routing.module';
import { ListComponent } from './list/list.component';
import { AuthorityComponent } from './authority/authority.component';
import { EnterpriseComponent } from './enterprise.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    NgZorroAntdModule,
    RouterModule.forChild(EnterpriseRoutes)
  ],
  declarations: [ListComponent, AuthorityComponent, EnterpriseComponent],
  providers:[AccountService]
})
export class EnterpriseModule { }
